package ar.edu.unq.wannaplay.pages;

import ar.edu.unq.wannaplay.panels.LogoutPanel;
import ar.edu.unq.wannaplay.roles.AbstractLinkAdderStrategy;

public class Home extends WPPage {

    public Home() {
        super("Home page");
        this.initialize();
        this.addLanguageSelect();
    }

    @Override
    protected void addMainContent() {
        AbstractLinkAdderStrategy.getUserLoged().addHomeContent(this);
        this.add(new LogoutPanel("logout"));
    }

}
